package com.example.questionnaire.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author hsz
 * @email 1416446590@qq.com
 * @date 2022-10-31 10:19:07
 */
@Data
@TableName("team")
public class TeamEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 群组标识符(用户群组或者答者群组)
	 */
	@TableId
	private Integer id;
	/**
	 * 因为群组可能是用户群组或者答者群组，因此这里设置了personnel_id这个键和用户或者答者进行关联
	 */
	private Integer personnelId;
	/**
	 * 群组对应的类型，相当于标签，比如教师群组，健身爱好者群组
	 */
	private String kind;
	/**
	 * 群组标识符(用户群组或者答者群组)，用户群组标识符为0，答者群组标识符为1
	 */
	private Integer sign;
	/**
	 * 0代表未删除，1代表已经删除
	 */
	private Integer isDeleted;

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPersonnelId() {
		return personnelId;
	}

	public void setPersonnelId(Integer personnelId) {
		this.personnelId = personnelId;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public Integer getSign() {
		return sign;
	}

	public void setSign(Integer sign) {
		this.sign = sign;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
}
